home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_c
/
cuj0696.zip
/
DWYER.ZIP
/
POKER.TST
/
MAKEFILE
next >
Wrap
Text File
|
1996-04-04
|
1KB
|
56 lines
#
# makefile for pokertst.exe and friends
#
.SUFFIXES:
.SUFFIXES: .exe .obj .c
CFLAGS = -nologo $(OPTIMIZ) -W4 -Za -I. -I$(MISC_INCL) $(TEST)
#
# For Large (nay, HUGE) Library
#
LCFLAGS = -AH $(CFLAGS)
OPTIMIZ = -Ot -Gs -Gy#-Od#-qc
LLIBS = $(MISC_LIB)\lmiscsub.lib $(MISC_LIB)\lcephes.lib
MISC_INCL = ..\incl
MISC_LIB = ..\lib
LOPTIONS = /NOI /E /PACKC /F /ST:10240
POKR_OBJS = pokertst.obj\
pkrchisq.obj\
pokrprob.obj\
setpoker.obj
.c.obj:
cl -c $(LCFLAGS) $<
.c.exe:
-cl $(CFLAGS) -c $<
-cl -nologo $* /link $(LLIBS:.lib=) $(LOPTIONS)
-rm $*.obj
pokertst.exe: $(POKR_OBJS) $(LLIBS)
cl -nologo $(POKR_OBJS:.obj=) /link $(LLIBS:.lib=) $(LOPTIONS)
# link /nologo $(LOPTIONS) $(POKR_OBJS:.obj=),,nul,$(LLIBS:.lib=) ;
planpokr.exe: planpokr.c
cl $(CFLAGS) planpokr.c /link $(LFLAGS)
del planpokr.obj
pokertst.obj: pokertst.c pokrdefs.h
pkrchisq.obj: pkrchisq.c pokrdefs.h
pokrprob.obj: pokrprob.c
setpoker.obj: setpoker.c pokrdefs.h
mkdep:
mkdep $(POKR_OBJS:.obj=.c)
save:
-pkzip -u b:/pokertst *.c *.h *.awk *.inp readme.* makefile
xcg:
cat $(POKR_OBJS:.obj=.c) > $(TMP)all.c
xcg $(TMP)all.c | awk -f $(HOME)/extlist.awk | sed s/^........// |\
sed "s/ [.[]..*]$$//" | cat -n > pokertst.xcg
del $(TMP)all.c